package com.youdoneed.community.forum.entity;

import io.swagger.annotations.ApiParam;

import java.util.Date;
import java.util.List;

/**
 * 猿圈用户发表的论坛消息
 * @author lid
 * @date 2017.6.1
 */
public class Forumcomment {
    private String forumCommentId;

    /**
     * 对帖子进行评论：msgComment,对评论进行评论：cmtComment,对新闻进行评论：newsComment
     */
    private String msgType;

    private String userId;

    private String content;   
  
    private String parentCommentId;

    private Integer likesCount;
    
    /**
     * 当前评论消息的评论数
     */
    private Integer commentCount;

    private Date createDate;

    private String commentStruct;

    private Integer commentDelete;

    private Integer reportCount;

    private Integer prohibit;

    private String forumMsgId;
    
    /**
     * 评论可以添加图片
     */
    private String commentPicUrl;

    @ApiParam("评论中可以包含视频")
    private String commentVideoUrl;
    
    /**
     * 保存用户昵称（爬取的新闻评论没有用户信息，仅保存用户昵称）
     */
    private String userNickname;
    
    /**
     * 保存用户头像url
     */
    private String userHeadUrl;
    
    /**
     * 谁评论了谁
     */
    private String commentFromTo;
    
    /**
     * 评论的楼层
     * 不用保存在数据库，查询出结果后直接赋值
     */
    private Integer commentFloor;
    
    /**
     * 评论的评论
     */
    private List<Forumcomment> listForumcomment;

    /**
     * 是否点赞!0:未点赞，1：点赞
     */
    private Integer hasPraised = 0;

    /**
     * 是否关注
     */
    private String isAttentioned = "no";

    public String getCommentVideoUrl() {
        return commentVideoUrl;
    }

    public void setCommentVideoUrl(String commentVideoUrl) {
        this.commentVideoUrl = commentVideoUrl;
    }

    public String getIsAttentioned() {
        return isAttentioned;
    }

    public void setIsAttentioned(String isAttentioned) {
        this.isAttentioned = isAttentioned;
    }

    public String getForumCommentId() {
        return forumCommentId;
    }

    public void setForumCommentId(String forumCommentId) {
        this.forumCommentId = forumCommentId;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getParentCommentId() {
        return parentCommentId;
    }

    public void setParentCommentId(String parentCommentId) {
        this.parentCommentId = parentCommentId;
    }

    public Integer getLikesCount() {
        return likesCount;
    }

    public void setLikesCount(Integer likesCount) {
        this.likesCount = likesCount;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCommentStruct() {
        return commentStruct;
    }

    public void setCommentStruct(String commentStruct) {
        this.commentStruct = commentStruct;
    }

    public Integer getCommentDelete() {
        return commentDelete;
    }

    public void setCommentDelete(Integer commentDelete) {
        this.commentDelete = commentDelete;
    }

    public Integer getReportCount() {
        return reportCount;
    }

    public void setReportCount(Integer reportCount) {
        this.reportCount = reportCount;
    }

    public Integer getProhibit() {
        return prohibit;
    }

    public void setProhibit(Integer prohibit) {
        this.prohibit = prohibit;
    }

    public String getForumMsgId() {
        return forumMsgId;
    }

    public void setForumMsgId(String forumMsgId) {
        this.forumMsgId = forumMsgId;
    }

	public Integer getCommentFloor() {
		return commentFloor;
	}

	public void setCommentFloor(Integer commentFloor) {
		this.commentFloor = commentFloor;
	}

	public String getCommentPicUrl() {
		return commentPicUrl;
	}

	public void setCommentPicUrl(String commentPicUrl) {
		this.commentPicUrl = commentPicUrl;
	}

	public String getUserNickname() {
		return userNickname;
	}

	public void setUserNickname(String userNickname) {
		this.userNickname = userNickname;
	}

	public String getCommentFromTo() {
		return commentFromTo;
	}

	public void setCommentFromTo(String commentFromTo) {
		this.commentFromTo = commentFromTo;
	}

	public List<Forumcomment> getListForumcomment() {
		return listForumcomment;
	}

	public void setListForumcomment(List<Forumcomment> listForumcomment) {
		this.listForumcomment = listForumcomment;
	}

	public Integer getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	public String getUserHeadUrl() {
		return userHeadUrl;
	}

	public void setUserHeadUrl(String userHeadUrl) {
		this.userHeadUrl = userHeadUrl;
	}

    public Integer getHasPraised() {
        return hasPraised;
    }

    public void setHasPraised(Integer hasPraised) {
        this.hasPraised = hasPraised;
    }
}